
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>后台管理系统</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">

    <link rel="stylesheet" href="/styles/layui.css"  media="all">
    <link rel="stylesheet" href="/styles/common.css"/>
</head>
<body class="layui-layout-body" style="width: 100%">
<#include "managerbossmenu.ftl">
    <div class="layui-body">
        <!-- 内容主体区域 -->
        <div style="padding: 15px;">

            <div class="content-nav">
                人员管理 >
            </div>
            <table class="listtable">
                <caption>所有员工</caption>
                <tr class="listheader">
                    <th>id</th>
                    <th>姓名</th>
                    <th>账号</th>
                    <th>手机号</th>
                    <th>邮箱</th>
                    <th>状态</th>
                    <th>部门</th>
                    <th>角色</th>
                    <th>操作</th>
                </tr>
                <#if emps??>
                    <#list emps as emp>
                        <tr>
                            <td>${emp.employeeid}</td>
                            <td>${emp.employeename}</td>
                            <td>${emp.username}</td>
                            <td>${emp.phone}</td>
                            <td>${emp.email}</td>
                            <td>${emp.status}</td>
                            <td>${emp.departmentid}</td>
                            <td>${emp.role}</td>
                            <td>
                                <button><a class="clickbutton" href="/managerboss/editpeople?id=${emp.employeeid}">编辑</a></button>
                                <button><a class="clickbutton" href="/managerboss/deletepeople?id=${emp.employeeid}">删除</a></button>
                            </td>
                        </tr>
                    </#list>
                </#if>
            </table>
        </div>
    </div>

    <div class="layui-footer">
        : 欢迎使用
    </div>
</div>

</body>
</html>
